package com.gzhryc.net_marketing.cloud.micro.api.dto.v1;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class LogisticsCostListResponse extends SecurityResponse<LogisticsCostListResponse.Body> {

    private static final long serialVersionUID = 1L;

    public LogisticsCostListResponse() {
        this.body = new Body();
    }

    public LogisticsCostListResponse(Integer code) {
        this.body = new Body();
        this.code = code;
    }

    public LogisticsCostListResponse(Integer code, String msg) {
        this.body = new Body();
        this.code = code;
        this.msg = msg;
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private List<LogisticsItem> items;

        public List<LogisticsItem> getItems() {
            return items;
        }

        public void setItems(List<LogisticsItem> items) {
            this.items = items;
        }
    }

    public static class LogisticsItem {

        private String companyId;
        private String name;
        private String money;
        private String note;

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }
    }
}
